﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Logistics_management.Truck
{
    public partial class TruckList : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Repeater1.DataSource = BLL.TruckBLL.GetAllTruck();
                Repeater1.DataBind();


                PagedDataSource page = new PagedDataSource();
                page.AllowPaging = true;
                page.PageSize = 2;
            }
        }
    }
}